package cn.pfz.query;

import lombok.Data;
import org.apache.commons.lang3.StringUtils;

import java.io.Serializable;

/**
 * @Author: 普发忠
 * @Date: 2021/10/08/10:47
 */
@Data
public class QueryObject implements Serializable {
private int currentPage = 1;
private int pageSize = 10;

private String keyword;
public String getKeyword() {
    return StringUtils.isNotBlank(keyword) ? keyword : null;
}
}
